// app.js
App({
  onLaunch() {
    // 展示本地存储能力
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

  },
  globalData: {
    isLogin: false,
    session: null,
    openId:null,
    //127.0.0.1:8080
    serverAddress:`192.168.10.102:8080`,
    telNumber:null,
    nickName:null,
    //用户身份(0为顾客，1为外卖员）
    userType:null
  }
})
